package 实验二;
public class Test {
    public static void main(String[] args) {
        Student me = new Student(2021310667, "刘至岳", "男");
        System.out.println("学生信息");
        System.out.println(me);
        Teacher A = new Teacher(01, "游煦", "男", "线性代数");
        System.out.println("教师信息");
        System.out.println(A);
        Course a = new Course("线性代数", 01, "教102", 90f);
        System.out.println("课程信息");
        System.out.println(a);
        Teacher B = new Teacher(02, "张世博", "男", "Java技术及应用");
        System.out.println("教师信息");
        System.out.println(B);
        Course b = new Course("Java技术及应用", 02, "教103", 90f);
        System.out.println("课程信息");
        System.out.println(b);
        Teacher C = new Teacher(03, "吕素叶", "女", "大学物理");
        System.out.println("教师信息");
        System.out.println(C);
        Course c = new Course("大学物理", 03, "2202", 90f);
        System.out.println("课程信息");
        System.out.println(c); 
        me.tuike();
        me.delete();

    }
} 